<html>
<head><meta charset="utf-8"><title>How to easily get a toolchain by PR/commit? · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/How.20to.20easily.20get.20a.20toolchain.20by.20PR.2Fcommit.3F.html">How to easily get a toolchain by PR/commit?</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="219493863"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/How%20to%20easily%20get%20a%20toolchain%20by%20PR/commit%3F/near/219493863" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Elichai Turkel <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/How.20to.20easily.20get.20a.20toolchain.20by.20PR.2Fcommit.3F.html#219493863">(Dec 10 2020 at 16:10)</a>:</h4>
<p>Hi,<br>
What's the easiest way to get a rustup toolchain from a specific git commit/PR?</p>



<a name="219493941"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/How%20to%20easily%20get%20a%20toolchain%20by%20PR/commit%3F/near/219493941" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/How.20to.20easily.20get.20a.20toolchain.20by.20PR.2Fcommit.3F.html#219493941">(Dec 10 2020 at 16:10)</a>:</h4>
<p><a href="https://github.com/kennytm/rustup-toolchain-install-master">https://github.com/kennytm/rustup-toolchain-install-master</a></p>



<a name="219493943"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/How%20to%20easily%20get%20a%20toolchain%20by%20PR/commit%3F/near/219493943" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> davidtwco <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/How.20to.20easily.20get.20a.20toolchain.20by.20PR.2Fcommit.3F.html#219493943">(Dec 10 2020 at 16:10)</a>:</h4>
<p><a href="https://github.com/kennytm/rustup-toolchain-install-master"><code>rustup-toolchain-install-master</code></a> works great</p>



<a name="219527916"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/How%20to%20easily%20get%20a%20toolchain%20by%20PR/commit%3F/near/219527916" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Elichai Turkel <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/How.20to.20easily.20get.20a.20toolchain.20by.20PR.2Fcommit.3F.html#219527916">(Dec 10 2020 at 20:15)</a>:</h4>
<p>Wow. I know and use that tool but for some reason I just didn't realize I could use it for PRs<br>
<span aria-label="face palm" class="emoji emoji-1f926" role="img" title="face palm">:face_palm:</span></p>



<a name="219528157"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/How%20to%20easily%20get%20a%20toolchain%20by%20PR/commit%3F/near/219528157" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/How.20to.20easily.20get.20a.20toolchain.20by.20PR.2Fcommit.3F.html#219528157">(Dec 10 2020 at 20:18)</a>:</h4>
<p><span class="user-mention" data-user-id="249222">@Elichai Turkel</span> it only works if someone ran <code>@bors try</code> on the PR</p>



<a name="219528204"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/How%20to%20easily%20get%20a%20toolchain%20by%20PR/commit%3F/near/219528204" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/How.20to.20easily.20get.20a.20toolchain.20by.20PR.2Fcommit.3F.html#219528204">(Dec 10 2020 at 20:18)</a>:</h4>
<p>otherwise there's no commit artifacts to download</p>



<a name="219546753"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/How%20to%20easily%20get%20a%20toolchain%20by%20PR/commit%3F/near/219546753" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/How.20to.20easily.20get.20a.20toolchain.20by.20PR.2Fcommit.3F.html#219546753">(Dec 10 2020 at 23:07)</a>:</h4>
<p>I think you can use it for any PR that's been merged though.</p>



<a name="219547565"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/How%20to%20easily%20get%20a%20toolchain%20by%20PR/commit%3F/near/219547565" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> cuviper <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/How.20to.20easily.20get.20a.20toolchain.20by.20PR.2Fcommit.3F.html#219547565">(Dec 10 2020 at 23:17)</a>:</h4>
<p>right, so you may be able to figure out the rollup commit that merged it and use that</p>



<a name="219584746"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/How%20to%20easily%20get%20a%20toolchain%20by%20PR/commit%3F/near/219584746" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Elichai Turkel <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/How.20to.20easily.20get.20a.20toolchain.20by.20PR.2Fcommit.3F.html#219584746">(Dec 11 2020 at 10:07)</a>:</h4>
<p>Oh I can't point it to git refs/pr so I can test an open PR?</p>



<a name="219584892"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/How%20to%20easily%20get%20a%20toolchain%20by%20PR/commit%3F/near/219584892" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/How.20to.20easily.20get.20a.20toolchain.20by.20PR.2Fcommit.3F.html#219584892">(Dec 11 2020 at 10:09)</a>:</h4>
<p>There needs to be an <code>@bors try</code> run first.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>